Remove Local Styling
Clean up your topics by removing inline style attributes, forcing all styling to come from your CSS stylesheets.
Remove Styling from Topic
Remove local styling from the current topic:
- Open a topic file.
- Click Remove local styling (topic) in the Styling group.
- All inline
style
attributes are removed from elements (except tables).
Remove Styling from Project
Remove local styling from all topics in the project:
- Click Remove local styling (project) in the Styling group.
- All inline
style
attributes are removed from all topic files (except tables).
What Gets Removed
- Inline
style
attributes - Direct font formatting
- Color and size attributes
- Spacing and margin attributes
What's Preserved
- Table styling (to maintain table layouts)
- Class attributes
- ID attributes
- All other non-style attributes
Use Cases
- Clean up content imported from Word or HTML
- Enforce stylesheet-based formatting
- Prepare content for new design systems
- Eliminate inconsistent formatting